package site.thatime.hyts.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import site.thatime.hyts.mapper.PdaProductMapper;
import site.thatime.hyts.model.PdaProduct;

@Service
public class PdaProductService extends AbstractService<PdaProduct> {
	@Resource
	private PdaProductMapper pdaProductMapper;

	public PdaProduct fetch(String id) {
		return pdaProductMapper.fetch(id);
	}

	public List<PdaProduct> getAll() {
		return pdaProductMapper.selectAll();
	}
}
